package com.wanqing.login.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;


@Data
public class User implements Serializable {
    private Long id;
    private String username;
    private String avatar;
    private String email;
    private String password;
    private Integer status;
    // 用户的权限 —— 0 系统管理员 1 租户 2 普通用户
    private Integer permission;
}
